package cn.lfy.studentmanager.service;

import java.util.List;
import java.util.Map;

import cn.lfy.studentmanager.domain.Academy;
import cn.lfy.studentmanager.domain.Department;

//创建service接口，设置相关操作，然后会有一个service实现类来实现这个接口
public interface DepartmentService {
	boolean add(Department department);
	boolean delete(int id);
	
	List<Map<String, Object>> select(int page, int limit);

	boolean update(int id,String name,int aid);

	int getCount();
	
	List<Academy> select();

}
